package com.yanggeng.demo.beginnerguidedemo.activity.customview

import android.os.Bundle
import com.yanggeng.demo.beginnerguidedemo.R
import com.yanggeng.demo.beginnerguidedemo.activity.BaseActivity
import com.yanggeng.demo.beginnerguidedemo.widget.BatteryProgressBar

class BatteryProgressBarActivity: BaseActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_battery)
        setTitle(true, "BatteryProgressBar")
        findViewById<BatteryProgressBar>(R.id.battery).startAnimation()
    }
}